<!DOCTYPE html>
<html
  layout:decorator="components/layout"
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
  lang="zh-CN"
>
<head>
  <title>新增管理员组</title>
</head>
<body>
<div
  layout:fragment="content"
  id="app" v-cloak
>
  <div class="container">
    <div class="myHeader">
      <div class="myHeader-title">
        新增管理员组
      </div>
    </div>
    <table
      width="100%"
      border="0"
      class="el-table el-table--border"
      cellspacing="0"
      cellpadding="0"
    >
      <tbody>
      <tr>
        <td
          width="100"
        ><b>名称</b></td>
        <td>
          <el-input
            v-model="form.name"
            name="name"
          ></el-input>
        </td>
      </tr>
      <tr>
        <td><b>描述</b></td>
        <td>
          <el-input
            type="textarea"
            v-model="form.description"
            name="description"
          ></el-input>
        </td>
      </tr>
      </tbody>
    </table>
    <div align="center">
      <el-button
        type="primary"
        @click="addSysRole"
        v-realm="'system-configuration:sys-user:edit'"
      >保存
      </el-button>
      <el-button
        @click="_forward('/system-config/admin_privilege')"
      >返回
      </el-button>
    </div>
  </div>
</div>
<div layout:fragment="js">
  <script src="/static/js/module/system-config/model/SysRole.js"></script>
  <script src="/static/js/module/system-config/api/sysRoleApi.js"></script>
  <script src="/static/js/module/system-config/common/admin_privilege_group_validate.js"></script>
  <script src="/static/js/module/system-config/add/admin_privilege_group_add.js"></script>
</div>
</body>
</html>